package com.fmy.test.config.dynamic.holder;

import com.fmy.test.config.dynamic.enums.DBType;

/**
 * <p>
 *    动态选择实体
 * <p>
 *
 * @ClassName DynamicHolderModel
 * @Aulthor Mr.fmy
 * @Version 1.0
 * @Date 2019/9/2 16:36
 **/
public class DynamicHolderModel {

    private String dbName;

    private DBType dbType;

    public String getDbName() {
        return dbName;
    }

    public void setDbName(String dbName) {
        this.dbName = dbName;
    }

    public DBType getDbType() {
        return dbType;
    }

    public void setDbType(DBType dbType) {
        this.dbType = dbType;
    }

    public DynamicHolderModel(String dbName, DBType dbType) {
        this.dbName = dbName;
        this.dbType = dbType;
    }
}
